import { ref } from "vue"

const columns = ref<Column[]>([
  {
    prop: "userName",
    label: "用户名称",
    sortable: true
  },
  {
    prop: "nickName",
    label: "用户昵称",
    sortable: true
  },
  {
    prop: "avatar",
    label: "用户头像",
    slotName: "avatar"
  },
  {
    prop: "phone",
    label: "手机号码",
    sortable: true
  },
  {
    prop: "sex",
    label: "性别",
    sortable: true,
    slotName: "sex"
  },
  {
    prop: "state",
    label: "状态",
    sortable: true,
    slotName: "state"
  },
  {
    prop: "createTime",
    label: "创建时间",
    sortable: true,
    slotName: "create-time"
  },
  {
    prop: "option",
    label: "操作",
    fixed: "right",
    slotName: "option"
  }
])

export { columns }
